Development of a Java Package for Matrix Programming

نویسندگان

  • Ngee-Peng Lim
  • Maurice H. T. Ling
  • Shawn Y. C. Lim
  • Ji-Hee Choi
  • Henry B. K. Teo
چکیده

We had assembled a Java package, known as MatrixPak, of four classes for the purpose of numerical matrix computation. The classes are matrix, matrix_operations, StrToMatrix, and MatrixToStr; all of which are inherited from java.lang.Object class. Class matrix defines a matrix as a two-dimensional array of float types, and contains the following mathematical methods: transpose, adjoint, determinant, inverse, minor and cofactor. Class matrix_operations contains the following mathematical methods: matrix addition, matrix subtraction, matrix multiplication, and matrix exponential. Class StrToMatrix contains methods necessary to parse a string representation (for example, [[2 3 4]-[5 6 7]]) of a matrix into a matrix definition, whereas class MatrixToStr does the reverse.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

JPDC: Java Package for Distributed Computing

In this paper we present Java Package for Distributed Computing (JPDC), a toolkit for implementing and testing distributed algorithms in Java. JPDC’s goals are to simplify the development of distributed algorithms by defining an highlevel programming interface. The interface is very close to the pseudo-code formalism commonly used to describe algorithms and allows, at the same time, the impleme...

متن کامل

JGromacs: A Java Package for Analyzing Protein Simulations

UNLABELLED In this paper, we introduce JGromacs, a Java API (Application Programming Interface) that facilitates the development of cross-platform data analysis applications for Molecular Dynamics (MD) simulations. The API supports parsing and writing file formats applied by GROMACS (GROningen MAchine for Chemical Simulations), one of the most widely used MD simulation packages. JGromacs builds...

متن کامل

A Formal Specification in JML of the Java Security Package

The Java security package allows a programmer to add security features to Java applications. Although the package provides a complex application programming interface (API), its informal description, e.g., Javadoc comments, is often ambiguous or imprecise. Nonetheless, the security of an application can be compromised if the package is used without a concrete understanding of the precise behavi...

متن کامل

A Formal Specification in JML of Java Security Package

∗ The work of authors was supported in part by the NSF, CNS-0509299. Abstract-The Java security package allows a programmer to add security features to Java applications. Although the package provides a complex application programming interface (API), its informal description, e.g., Javadoc comments, is often ambiguous or imprecise. Nonetheless, the security of an application can be compromised...

متن کامل

Towards Automatic Support of Parallel Sparse

In this paper, we present a generic matrix class in Java and a runtime environment with continuous compilations aiming to support automatic parallelization of sparse computations on distributed environments. Our package comes with a collection of matrix classes including operators of dense matrix, sparse matrix, and parallel matrix on distributed memory environments. In our environment, a progr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره cs.MS/0306127  شماره 

صفحات  -

تاریخ انتشار 2003